package com.crm.model.qo.activityManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author yincuimei
 * @Date 2021/3/2 10:11
 * 赠品列表查询条件实体类
 */
@Data
public class CustomerProductGiftActivityQO {

    //产品名称
    private String productName;

    //赠品活动名称
    private String giftActivityName;

    //赠品类别(1:产品类;2:价格类)
    private String giftCategory;

    //赠品活动价格起始价
    private BigDecimal giftActivityPriceStart;

    //赠品活动价格截止价
    private BigDecimal giftActivityPriceEnd;

    //赠品活动有效期起始时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date giftPeriodValidityStart;

    //赠品活动有效期截止时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date giftPeriodValidityEnd;
}
